(function(){
    function main(){
        console.log('sasa')
        let canvas=document.getElementById('webgl-canvas');
        if(!canvas)return;
        //创建画布
        let ctx=canvas.getContext('2d');
        
        //画一个带颜色的矩形
        ctx.fillStyle="rgba(0,255,255,1.0)";
        //参数 x ,y 长，宽
        ctx.fillRect(120,10,150,150);

    }
    main();


})();